using BookDownloader.Core.Implementation.BaseLibEngine.Parser;

namespace BookDownloader.Core.Implementation.LibRusEc.Parser
{
	public class AuthorBooksParser : SqlParser<AuthorBook>
	{
		public AuthorBooksParser(ISqlStreamProvider sqlStreamProvider) : base(sqlStreamProvider)
		{
		}

		protected override string ParamsPattern
		{
			get
			{
				return @"(?<BookId>\d+),(?<AuthorId>\d+).*";
			}
		}
	}
}